﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using F_MODEL;
using F_DAL;

namespace F_BLL
{
    public class DaiPiPei_bll
    {
        DaiPiPei_dal ddal = new DaiPiPei_dal();
        /// <summary>
        /// 待带货匹配
        /// </summary>
        /// <param name="userid"></param>
        /// <param name="mailStatus"></param>
        /// <returns></returns>
        public List<Mails> GetDaiPiPei(int userid, int mailStatus)
        {
            return ddal.GetDaiPiPei(userid, mailStatus);
        }

        /// <summary>
        /// 带货信息
        /// </summary>
        /// <param name="UserId"></param>
        /// <param name="mailId"></param>
        /// <returns></returns>
        public int pipei(int UserId, string mailId)
        {
            return ddal.pipei(UserId, mailId);
        }
        public int wancheng(int UserId, string mailId)
        {
            return ddal.wancheng(UserId, mailId);
        }

        

       
    }
}
